# Joshua Alley, Layla Picard, and Philip B.K. Potter
# README for "Attitudes Towards Extremist Organizations in the United States" 

In this archive, you will find a zip folder with the raw data and R scripts for cleaning and analysis. 

After extracting the archive onto your local machine, use the Rstudio project file to set your working directory. 
Every script uses relative file paths to that project file. 
Running "do-all.R" will complete the full analysis. 

We have included empty appendix and figures directories for ease of replication. 

The IRT models take significant time to run, and there are multiple iterations. Please be patient. 

Any questions or issues, please contact Joshua_Alley@baylor.edu. 



# computing details are as follows: 

R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] sf_1.0-23              tigris_2.2.1           splitstackshape_1.4.8 
 [4] DirectEffects_0.3      posterior_1.6.1        tidybayes_3.0.7       
 [7] bayesplot_1.14.0       gridExtra_2.3          xtable_1.8-4          
[10] marginaleffects_0.30.0 modelsummary_2.5.0     wesanderson_0.3.7     
[13] endorse_1.6.2          coda_0.19-4.1          haven_2.5.5           
[16] lubridate_1.9.4        forcats_1.0.1          stringr_1.5.2         
[19] dplyr_1.1.4            purrr_1.1.0            readr_2.1.5           
[22] tidyr_1.3.1            tibble_3.3.0           ggplot2_4.0.0         
[25] tidyverse_2.0.0        conflicted_1.2.0      

loaded via a namespace (and not attached):
 [1] gtable_0.3.6         tensorA_0.36.2.1     xfun_0.53            lattice_0.22-7      
 [5] tzdb_0.5.0           vctrs_0.6.5          tools_4.5.1          generics_0.1.4      
 [9] proxy_0.4-27         pkgconfig_2.0.3      KernSmooth_2.23-26   data.table_1.17.8   
[13] checkmate_2.3.3      RColorBrewer_1.1-3   S7_0.2.0             uuid_1.2-1          
[17] distributional_0.5.0 lifecycle_1.0.4      compiler_4.5.1       farver_2.1.2        
[21] Matching_4.10-15     class_7.3-23         htmltools_0.5.8.1    pillar_1.11.1       
[25] arrayhelpers_1.1-0   MASS_7.3-65          classInt_0.4-11      cachem_1.1.0        
[29] abind_1.4-8          tidyselect_1.2.1     digest_0.6.37        svUnit_1.0.8        
[33] stringi_1.8.7        fastmap_1.2.0        grid_4.5.1           cli_3.6.5           
[37] magrittr_2.0.4       e1071_1.7-16         withr_3.0.2          rappdirs_0.3.3      
[41] scales_1.4.0         backports_1.5.0      timechange_0.3.0     httr_1.4.7          
[45] hms_1.1.3            memoise_2.0.1        evaluate_1.0.5       knitr_1.50          
[49] ggdist_3.3.3         rlang_1.1.6          Rcpp_1.1.0           DBI_1.2.3           
[53] glue_1.8.0           rstudioapi_0.17.1    R6_2.6.1             units_1.0-0         
[57] tables_0.9.31  